package org.ruoyi.interview.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ruoyi.common.core.validate.AddGroup;
import org.ruoyi.common.core.validate.EditGroup;
import org.ruoyi.interview.domain.InterviewQuestionFavorite;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 面试题收藏业务对象 interview_question_favorite
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AutoMapper(target = InterviewQuestionFavorite.class, reverseConvertGenerate = false)
public class InterviewQuestionFavoriteBo {

    /**
     * 收藏ID
     */
//    @NotNull(message = "收藏ID不能为空", groups = {EditGroup.class})
    private Long favoriteId;

    /**
     * 用户ID
     */
//    @NotNull(message = "用户ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long userId;

    /**
     * 面试题目ID
     */
    @NotNull(message = "面试题目ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long questionId;

    /**
     * 备注
     */
    private String remark;

}
